﻿@model IEnumerable<IEstate.Core.Models.Estate>

@{
    ViewBag.Title = "_CustomSearch";
}

<h2>_CustomSearch</h2>

<div class="div-table">
    <div class="div-table-row">
        <div class="div-table-col" align="center"><b>Street</b></div>
        <div class="div-table-col"><b>Bedrooms</b></div>
        <div class="div-table-col"><b>Size</b></div>
        <div class="div-table-col"><b>Price</b></div>
        <div class="div-table-col"><b>Type</b></div>
        <div class="div-table-col"><b>Option</b></div>
    </div>
    @foreach (var i in Model)
    {
        <div class="div-table-row">
            <div class="div-table-col">@i.Street</div>
            <div class="div-table-col">@i.Bedrooms</div>
            <div class="div-table-col">@i.Size</div>
            <div class="div-table-col">@i.Price</div>
            <div class="div-table-col">@i.TypeCategory</div>
            <div class="div-table-col">@i.TypeOption</div>
        </div>
    }
</div>
